package com.jixi.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "教育局表")
@TableName("education")
public class Education {
	
	@Schema(description = "教育局id")
	@TableId(value = "education_id")
	private Long educationId;
	
	@Schema(description = "账号")
	private String educationUsername;
	
	@Schema(description = "密码")
	@JsonIgnore  //让springmvc将对象转换为JSON时忽略password
	private String educationPassword;
	
	@Schema(description = "教育局昵称")
	private String educationNickname;
	
	@Schema(description = "教育局电话")
	private String educationTel;
	
	@Schema(description = "账号权限（1超管，2普管）")
	private Integer educationPower;
	
	@Schema(description = "状态（0 禁用，1 启用）")
	private Integer status;
	
	@Schema(description = "是否删除（0未删除 1 删除）")
	private Integer isDeleted;
	
	@Schema(description = "更新时间")
	private Date updateTime;
	
	@Schema(description = "创建时间")
	private Date createTime;
	
	@Schema(description = "初始账号（0：非初始，1：初始；初始账号不能被操作）")
	private Integer original;
	
	
}
